package cn.wolfcode.luowowo.acticle.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

@Getter
@Setter

public class DestinationQuery extends QueryObject {
    private Long parentId;
    private String keyword;
    private int ishot = -1;

    public String getKeyword(){
        return StringUtils.isEmpty(keyword) ? null : keyword;
    }
}
